package cn.com.gof.structure.adapter;

import javax.print.attribute.standard.MediaName;

/**
 * <p>Title: Client</p>  
 * <p>Description: </p>  
 * @author WangJun
 * @date 2018年9月6日 下午3:58:37
 */
public class Client {
	public static void test(Target t) {
		t.handleReq();
	}
	public static void main(String[] args) {
//		Target t = new Adapter();
		Target t = new Adapter2(new Adaptee());
		Client.test(t);
	}
}
